package com.example.fireassistant_server.mapper;


import com.example.fireassistant_server.dto.user.UserCreateRequest;
import com.example.fireassistant_server.dto.user.UserDto;
import com.example.fireassistant_server.entity.User;
import com.example.fireassistant_server.vo.UserVo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface UserMapper {
    UserDto toDto(User user);

    UserVo toVo(UserDto userDto);

    User createEntity(UserCreateRequest userCreateDto);

    User createUser(UserDto userDto);


}
